<template>
  <div class="content">
    <div class="main-img">
      <img :src="src" height="40px" width="40px" alt="logo"/>
    </div>
    <div class="main-content">
      <div class="main-title">{{title}}</div>
      <div class="main-desc">{{desc}}</div>
    </div>
  </div>
</template>

<script>

export default {
  name: "tool-item-card",
  props:{
    title:{
      type:String,
      default:  "开发中"
    },
    desc:{
      type:String,
      default: "更多功能Coming"
    },
    src:{
      type: String,
      default:""
    }
  },
  data: function () {
    return {
    }
  },
  methods: {
  }
}
</script>

<style scoped lang="less">
.content{
  cursor: pointer;
  background-color: #ffffff;
  display: flex;
  padding: 20px;
  margin: 5px;
  box-shadow: 0 3px 10px 0 rgb(31 35 41 / 4%);
  transition:box-shadow .3s ease-in-out;
  border-radius: 5px;

}
.content:hover{
  box-shadow:0 3px 8px 0 rgba(0,0,0,.2);
}
.main-img {
  width: 40px;
  height: 40px;
}
.main-content{
  margin-left: 10px;
  height: 40px;
  .main-title{
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: #1f2329;
  }
  .main-desc {
    height: 18px;
    font-size: 12px;
    line-height: 18px;
    color: #8f959e;
    word-break: break-all;
  }
}
</style>
